KISSY.use('bui/menu',function(S,Menu){
	var menu = new Menu.PopMenu({
		trigger:".button-menu,.global-menu",
		autoRender:true,
		children:[{id:'/?a=gamecfg&m=Shopmanage',content : "活动设置"},
				// {id:'/?a=bandcfg&m=Shopmanage&c=frontcfg',content : "外观配置"},
				{id:'/?m=shopmanage&c=index&a=gamegg',content : "公告配置"},
				// {id:'/?c=chajian&m=Shopmanage',content : "插件管理"},
				{id:'/?m=Kxdr&c=Gift',content : "奖品管理"},
				{id:'/?c=jifen&m=Shopmanage',content : "积分签到"},
				{id:'/?m=Shopmanage&c=Medal',content : "荣誉勋章"},
				// {id:'/?a=manual&c=wins&m=Shopmanage',content : "手动抽奖"},
				{id:'/?c=chajian&m=shopmanage',content : "插件和外观"},
				{id:'/?a=logout&m=Shopmanage',content : "退出登录"},
				]
	});
	menu.on('itemselected', function(){
          location.href=(menu.getSelectedValue());
        })
    menu.render();
});